package com.mytx.notify.service;

import com.mytx.common.pojo.CommonResult;
import org.springframework.web.bind.annotation.*;

/**
 * 用户通知服务接口
 *
 * @author xubin.
 * @create 2017-05-05
 */

public interface NotifyService {
    /**
     * 发送短信
     */
    @RequestMapping(value = "/mobileNotify/{mobile}", method = RequestMethod.POST)
    CommonResult mobileNotify(@PathVariable("mobile") String mobile) throws Exception;
    @PostMapping( "/sendMobileCode")
    CommonResult sendMobileCode(@RequestBody String phoneNumber);
}
